package com.example.springboot.mapper;

import com.example.springboot.controller.request.BaseRequset;
import com.example.springboot.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CategoryMapper {

    List<Category> list();

    List<Category> listByCondition(BaseRequset baseRequset);

    void save(Category obj);
    void updateById(Category obj);

    void deleteById(Integer id);

    Category getById(Integer id);
}
